<?php if ($this->_var['helps']): ?>
<div class="all_width footer_main">
	<div class="center_width">
		<div class="img_2d">
        	<img src="themes/custom/images/site/2d.png" />
            <p>手机访问本站</p>
        </div>
		<?php $_from = $this->_var['helps']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'help_cat');$this->_foreach['cat_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cat_list']['total'] > 0):
    foreach ($_from AS $this->_var['help_cat']):
        $this->_foreach['cat_list']['iteration']++;
?>
		<?php if (($this->_foreach['cat_list']['iteration'] == $this->_foreach['cat_list']['total']) == 1): ?>
		<div class="foot_block" style="border:none">
		<?php else: ?>
		<div class="foot_block">
		<?php endif; ?>
			<ul>
				<li class="li_head"><a href='<?php echo $this->_var['help_cat']['cat_id']; ?>' title="<?php echo $this->_var['help_cat']['cat_name']; ?>"><?php echo $this->_var['help_cat']['cat_name']; ?></a></li>
				<?php $_from = $this->_var['help_cat']['article']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?>
				<li><a href="<?php echo $this->_var['item']['url']; ?>" title="<?php echo htmlspecialchars($this->_var['item']['title']); ?>"><?php echo $this->_var['item']['short_title']; ?></a></li>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</ul>
		</div>
		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		<div class="clear"></div>
	</div>
</div>
<?php endif; ?>